import TEST1.Head.DataFrom as dtR
from path import PATH
'''专用于数据的类，用于装载ddt，数据需要整理为二维列表'''

fp = PATH + 'TEST\\Asset\\1.xls'
class Data:

    def data1(self):
        data = dtR.xls(fp, 0).read()
        print(data)
        return data

# 准备数据的脚本在此安放
def dataReady():
    dtR.new(fp)
    exc = dtR.xls(fp, 0)
    exc.write(datas=[[1, 2, 3, 4], [12, 3, 4, 566, 7]], flag=1)
    return 0


